
from django.conf.urls.defaults import *
import gtfs.views
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
                       (r'^$', gtfs.views.index_view),
                       (r'^agency/([^/]+)/$', gtfs.views.agency_view),
                       (r'^agency/([^/]+)/routes$', gtfs.views.agency_routes_view),
                       (r'^agency/([^/]+)/stops$', gtfs.views.agency_stops_view),
                       (r'^agency/([^/]+)/stop/([^/]+)$', gtfs.views.stop_view),
                       (r'^agency/([^/]+)/route/([^/]+)$', gtfs.views.route_view),
                       (r'^admin/', include(admin.site.urls)),
                       (r'^static/(?P<path>.*)$', 'django.views.static.serve',
                        {'document_root': '/Users/grahame/mtn/armada/armada/static/'}),
                       )
